<ul id="weathers">
<li id="divWeather1" style="display:none;">
제주시:
<%@Cheju['cc'].each do |item| %>
<img class="icon" src="http://image.weather.com/web/common/wxicons/31/<%=item['icon']%>.gif" title="<%=item['t']%>" alt="<%=item['t']%>"/>
<%=sprintf("%.1f", ((item['tmp'][0].to_i - 32) * 5.0 / 9.0))%>℃
<% t = item['lsup'][0].split%>
<%=("(오늘 " + t[1]+ " " + t[2] + " 기준)")%>
<% end %>
</li>
<li id="divWeather2" style="display:none;">
제주산간:
<% @ChejuUpper['cc'].each do |item| %>
<img class="icon" src="http://image.weather.com/web/common/wxicons/31/<%=item['icon']%>.gif" title="<%=item['t']%>" alt="<%=item['t']%>"/>
<%=sprintf("%.1f", ((item['tmp'][0].to_i - 32) * 5.0 / 9.0))%>℃
<% t = item['lsup'][0].split%>
<%=("(오늘 " + t[1]+ " " + t[2] + " 기준)")%>
<% end %>
</li>
<li id="divWeather3" style="display:none;">
서귀포:
<% @Seogwipo['cc'].each do |item| %>
<img class="icon" src="http://image.weather.com/web/common/wxicons/31/<%=item['icon']%>.gif" title="<%=item['t']%>" alt="<%=item['t']%>"/>
<%=sprintf("%.1f", ((item['tmp'][0].to_i - 32) * 5.0 / 9.0))%>℃
<% t = item['lsup'][0].split%>
<%=("(오늘 " + t[1]+ " " + t[2] + " 기준)")%>
<% end %>
</li>
</ul>